home *** CD-ROM | disk | FTP | other *** search
/ PC Media 20 / PC MEDIA CD20.iso / share / udos / rar200b3 / rar.doc < prev    next >
Text File  |  1996-02-09  |  61KB  |  1,655 lines

  1.  
  2.  ██████╗   █████╗  ██████╗      User's Manual
  3.  ██╔══██╗ ██╔══██╗ ██╔══██╗     ~~~~~~~~~~~~~
  4.  ██████╔╝ ███████║ ██████╔╝     RAR 2.00 DOS and OS/2 versions
  5.  ██╔══██╗ ██╔══██║ ██╔══██╗     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6.  ██║  ██║ ██║  ██║ ██║  ██║     Multifunctional Integrated Archive Manager
  7.  ╚═╝  ╚═╝ ╚═╝  ╚═╝ ╚═╝  ╚═╝     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  8.  
  9.                        =-=-=-=-=-=-=-=-=-=-=-=-=-=-
  10.                        Welcome to the RAR Archiver!
  11.                        -=-=-=-=-=-=-=-=-=-=-=-=-=-=
  12.  
  13.  
  14.  ╔════════════════════════════════════════════════════════════════════════╗
  15.  ║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  Introduction  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒║
  16.  ╚════════════════════════════════════════════════════════════════════════╝
  17.  
  18.  
  19.   RAR is an extremely powerful tool which allows you to manage and
  20.   control archive files.
  21.  
  22.   RAR features include:-
  23.  
  24.     *  Full-screen interactive interface (Optional)
  25.     *  Mouse support and menus
  26.     *  Non-RAR archive support
  27.     *  Common 'standard' command-line interface
  28.     *  Highly sophisticated, original compression algorithm
  29.     *  Special compression algoritm optimized for multimedia data
  30.     *  Better compression than other PC tools using 'solid' archiving
  31.     *  Authenticity verification (registered version only)
  32.     *  Self-extracting archives and volumes (SFX)
  33.     *  Ability to recover physically damaged archives
  34.     *  Programmable installation SFX archives
  35.     *  locking, password, disk volume labels & more ...
  36.  
  37.  
  38.  ╔════════════════════════════════════════════════════════════════════════╗
  39.  ║▒▒▒▒▒▒▒▒▒▒▒▒ Chapter 1.    Installation and Configuration ▒▒▒▒▒▒▒▒▒▒▒▒▒▒║
  40.  ╚════════════════════════════════════════════════════════════════════════╝
  41.  
  42.    This chapter describes how to install and configure RAR,
  43.    as well as giving information on technical requirements.
  44.  
  45.    1.1. Installation procedure
  46.  
  47.    RAR is distributed as a self-extracting (SFX) archive named
  48.    RAR???.EXE for DOS version or RAR???P.EXE for OS/2 version
  49.    where '???' is the version number.
  50.  
  51.    Local language versions may also be available in the format RARnnnxx.exe
  52.    where "nnn" is the version number and "xx" is the country code.
  53.  
  54.    1.1.1. RAR for DOS installation
  55.  
  56.    RAR for DOS installation consists of three basic steps:-
  57.  
  58.    ..  Start the RAR Self-Extracting archive
  59.  
  60.    ..  Choose a directory for the RAR files
  61.  
  62.    ..  Initiate the RAR installation
  63.  
  64.    For example, on floppy disk A: you have the file
  65.    RAR200.EXE, this will be RAR version 2.00.  You may install
  66.    it to your C: disk by typing, at the DOS prompt, the following
  67.    command (executing the RAR self-extracting archive):
  68.  
  69.    C:\> A:RAR200
  70.  
  71.    You will be prompted with the RAR archive comment.  Press
  72.    any key to continue, or press ESC to cancel the extraction.
  73.  
  74.    Then you will enter the RAR installation menu.
  75.  
  76.    Choose "Read license" to view the RAR license for usage and
  77.    distribution.  Pressing <Esc> to return to the installation menu.
  78.  
  79.    Choose "Destination directory" to enter the path for
  80.    installation.
  81.  
  82.    Choose "Install" to extract the RAR files to the destination
  83.    directory.
  84.  
  85.    When the extraction is successfully completed, a number of files will
  86.    be placed in the destination directory and RAR will be ready for use.
  87.  
  88.    1.1.2. RAR for OS/2 installation
  89.  
  90.    RAR for OS/2 installation consists of three basic steps:-
  91.  
  92.    ..  Create a directory for the RAR files
  93.  
  94.    ..  Make this directory the current working directory
  95.  
  96.    ..  Execute the RAR Self-Extracting archive
  97.  
  98.  
  99.    For example, on floppy disk A: you have the file
  100.    RAR200P.EXE, this will be RAR version 2.00 for OS/2.  You may
  101.    install it to your C: disk by typing, at the OS prompt, the
  102.    following commands:
  103.  
  104.    [C:\] mkdir RAR
  105.    [C:\] cd RAR
  106.    [C:\RAR]
  107.  
  108.    You have now created a new directory, C:\RAR, and it is
  109.    the current working directory.
  110.  
  111.    Then execute the RAR self-extracting archive:
  112.  
  113.    [C:\RAR] A:RAR200P
  114.  
  115.    You will be prompted with the RAR archive comment.  Press
  116.    any key to continue, or press ESC to cancel the extraction.
  117.  
  118.    When the extraction is successfully completed, a number of
  119.    files will be placed in the current directory and RAR will
  120.    be ready for use.
  121.  
  122.    1.1.3. Installation hints
  123.  
  124.    The archiver program itself is named RAR.EXE. This module contains
  125.    all of the archiver's functionality, packing, unpacking, repairing,
  126.    SFX creation etc.
  127.  
  128.    It is recommended that the name of the directory, containing
  129.    the RAR files, be added to the PATH environment variable.
  130.    This will enable RAR to be used from any directory.
  131.    Alternatively the critical modules of RAR may be copied to your
  132.    "Utilities" directory.  These modules are RAR.EXE and RAR.CFG
  133.    (RAR.EXE, RAR2.CFG and RARARC2.CFG for OS/2 version),
  134.    although it is not essential, you may copy UNRAR.EXE as well.
  135.  
  136.  
  137.    1.2. Option menu
  138.  
  139.    A number of RAR options may be configured and saved to
  140.    be used as default options.  To access this menu, start RAR
  141.    without any parameters and then press Function key 9 (F9) to
  142.    bring up the Options menu:
  143.  
  144.  
  145.    C:\RAR> RAR
  146.  
  147.    When RAR has been started, press F9 - the following menu
  148.    will appear:
  149.  
  150.           ┌─────────────────────────────────┐
  151.           │ Configuration...                │
  152.           │ Set password              ALT-P │
  153.           │ Work directory            ALT-W │
  154.           │ Default comment file            │
  155.           │ External viewer                 │
  156.           │ Change disk               ALT-D │
  157.           │ Registration                    │
  158.           │ Save options              ALT-S │
  159.           └─────────────────────────────────┘
  160.  
  161.    Press <Enter> for the sub-menu "Configuration".  The
  162.    configuration menu offers a number of basic options which
  163.    may be changed.
  164.  
  165.    In the configuration menu, use the arrow keys to move
  166.    from item to item.  An item value may be changed by hitting
  167.    the <space> key.  When all items are set as desired, move to
  168.    the "Ok" field and hit <Enter> to save the chosen values.
  169.    To discard any changes, move to the "Cancel" field and hit
  170.    <Enter>.
  171.  
  172.    If you have a mouse attached, this process is even
  173.    easier.  Simply move the mouse cursor to the desired item
  174.    and click the left mouse key.
  175.    When you have completed the configuration, move the mouse
  176.    cursor to the field " Ok " and click on the left mouse key.
  177.    To discard changes click the left mouse key on the " Cancel "
  178.    field.
  179.  
  180.  
  181.    "Configuration/Interface options"
  182.  
  183.      Color                  Selects/Deselects color in
  184.                             full-screen mode
  185.  
  186.      Sound                  Enables RAR's sound effects
  187.  
  188.      Stdout mode            Forces RAR to run in console
  189.                             (stdout) mode while processing
  190.                             commands from the command line
  191.  
  192.      Mouse                  Enables the use of mouse-support
  193.                             in full-screen mode
  194.  
  195.  
  196.    "Configuration/Archiving options"
  197.  
  198.      Always solid           Forces RAR to create solid archives which
  199.      archiving              are often very much smaller than "normal"
  200.                             archives.  See RAR_FAQ.TXT for more details.
  201.                             Default is ON and all created archives will
  202.                             be made in 'solid' mode.  If you are making
  203.                             archives which will be frequently updated,
  204.                             the speed of update will be increased by
  205.                             changing this option, at the expense of
  206.                             compression ratio.
  207.  
  208.      Multimedia             Enables special compression algoritm
  209.      compression            designed for digital audio and some
  210.                             types of graphic. See '-mm' description
  211.                             for details.
  212.  
  213.      Put recovery record    If this option is selected RAR will
  214.                             add recovery record to any new or modified
  215.                             archive. See 'rr' command description
  216.                             for details.
  217.  
  218.  {+} Put Authenticity       Forces RAR to place -AV (Authenticity
  219.      verification           Verification) into archives when they are
  220.                             created. (This feature is only available in
  221.                             the registered version)
  222.  
  223.  
  224.    "Configuration/Compression"
  225.  
  226.    Choose the default compression level from one of the
  227.    following:
  228.  
  229.       Store ...... Do not compress file when adding to archive
  230.       Fastest .... Use fastest method (least compressive)
  231.       Fast ....... Use fast compression method
  232.       Normal ..... Use normal (default) compression method
  233.       Good ....... Use good compression method (more compressive)
  234.       Best ....... Use best compression method (most compressive)
  235.  
  236.    Default is 'Normal' and is chosen as the best compromise between
  237.    time taken and compression ratio achieved.  Marginally higher
  238.    (0.1% - 1.5%) compression may be achieved with 'Good' or 'Best',
  239.    at the expense of 10% - 100% longer processing time.
  240.  
  241.  
  242.    "Configuration/Include file mask"
  243.  
  244.    Choose the categories of files to be included when adding
  245.    to an archive from the following:
  246.  
  247.        Read only files ..... Add files with 'Read-only' attribute
  248.        System files ........ Add files with 'System' attribute
  249.        Archive files ....... Add files with 'Archive' attribute
  250.        Hidden files ........ Add files with 'Hidden' attribute
  251.  
  252.    Default is 'Read-Only, System, Archive or Hidden' and is used such
  253.    that ALL files in a directory will be archived if the general
  254.    wildcard (*.*) is used.
  255.  
  256.  
  257.    "Configuration/Sort order"
  258.  
  259.    Choose the method required for sorting the archive contents
  260.    list from one of the following:
  261.  
  262.         Unsorted ......... Do not sort files
  263.         By name .......... Sort files by name
  264.         By extension ..... Sort files by extension
  265.         By size .......... Sort files by size
  266.  
  267.    Default is 'Sort files by extension' and is chosen in order to
  268.    group like files closer together.
  269.  
  270.  
  271.    For more information on file attributes, please refer to your
  272.    DOS manual.
  273.  
  274.  
  275.    "Configuration/Other options"
  276.  
  277.      Use 386 instructions   Forces RAR to detect CPU type and use some
  278.                             386 CPU 32-bit instructions if appropriate
  279.                             processor (386 or higher) is available.
  280.                             This option presents only in DOS version
  281.                             because RAR for OS/2 always uses 32-bit
  282.                             instructions.
  283.  
  284.      Use expanded memory    Allows 64 Kb of expanded memory (EMS 4.0)
  285.                             usage. Present only in DOS version.
  286.  
  287.  
  288.      Save extended          Enables the saving of OS/2 extended
  289.      attributes             attributes. Present only in OS/2 version.
  290.  
  291.  {+} Log errors to file     Enables the logging of critical errors
  292.                             to a file RAR.LOG. (This feature is only
  293.                             available in the registered version)
  294.  
  295.  
  296.    "Set password"
  297.  
  298.    Assign a password which will used when you add/extract files
  299.    to/from an archive.  You can define the password using <Alt-P>.
  300.    Note, the password will not be saved to the configuration file.
  301.  
  302.  
  303.    "Work directory"
  304.  
  305.    The path where RAR will place temporary files.  This may
  306.    be changed at any time by pressing <Alt-W>.
  307.  
  308.  
  309.    "Default comment file"
  310.  
  311.    If you would like a common comment added to every archive you are
  312.    creating, enter the full path and name here.
  313.  
  314.  
  315.    "External viewer"
  316.  
  317.    You may assign an external viewer program to run for viewing
  318.    file in archives (by pressing <F3>).
  319.  
  320.    While viewing a file of the archive in full-screen mode
  321.    RAR uses internal viewer if external viewer not set.
  322.  
  323.    Internal viewer provides the partial (dynamic) extraction
  324.    of the file. It means the viewer extracts only those part
  325.    which should read in view at the moment, then next one
  326.    if needed, etc.
  327.  
  328.    While using external viewer the whole file is extracted
  329.    before actual view.
  330.  
  331.    "Change disk"
  332.  
  333.    You may change the current disk displayed in the work window.
  334.  
  335.  
  336.    "Registration"
  337.  
  338.    To register RAR you must have a registration code.  This code may
  339.    be obtained by sending the completed registration form to your
  340.    local registration site or the world-wide distribution center.
  341.  
  342.    You will receive the latest version of RAR in registered form
  343.    along with your registration key and will then be able to create
  344.    archives containing Authenticity verification.
  345.  
  346.  
  347.    "Save setup"
  348.  
  349.    Pressing <Enter> or clicking the left mouse key on this item
  350.    will pop up a small confirmation window in which the user is
  351.    invited to " Save " or " Cancel " the saving of the new
  352.    configuration for future default usage in RAR.
  353.  
  354.    RAR stores the default configuration in the file RAR.CFG, which
  355.    is held in the same directory as RAR.EXE.
  356.  
  357.    The configuration may also be saved by pressing ALT-S keys,
  358.    (pressing the "S" key while simultaneously holding down the "ALT"
  359.    key).
  360.  
  361.    These options may also be set by using the left mouse key in the
  362.    window "Settings":
  363.  
  364.  
  365.    DOS version:    ┌────────────── Settings ─────────────┐
  366.                    │   Password                 Absent   │
  367.                    │   Compression level        Normal   │
  368.                    │   Multimedia compression   Disabled │
  369.                    │   Add recovery record      Disabled │
  370.                    │   Add AV to archives       Disabled │
  371.                    │   Make solid archives      Optional │
  372.                    │   Log errors to file       Enabled  │
  373.                    │   Default comment file     Absentt  │
  374.                    └─────────────────────────────────────┘
  375.  
  376.    OS/2 version:   ┌────────────── Settings ─────────────┐
  377.                    │   Priority and sleep time 0  : 0    │
  378.                    │   Save extended attrib.   Enabled   │
  379.                    │   Password                Absent    │
  380.                    │   Compression level       Normal    │
  381.                    │   Dictionary size         256 Kb    │
  382.                    │   Multimedia compression  Disabled  │
  383.                    │   Add recovery record     Disabled  │
  384.                    │   Add AV to archives      Disabled  │
  385.                    │   Make solid archives     Always    │
  386.                    │   Log errors to file      Disabled  │
  387.                    │   Default comment file    Absent    │
  388.                    └─────────────────────────────────────┘
  389.  
  390.    For example, click the left mouse key on the word 'Absent' in
  391.    the setting 'Password', you will be prompted to enter a new
  392.    password. Clicking the left mouse key on the word 'Optional'
  393.    in the setting 'Make solid archives' would cause toggle to
  394.    'Always' - that will force RAR to create solid archives.
  395.  
  396.  
  397.    1.3. RAR environment variable
  398.  
  399.    Default parameters may be added to the RAR command line by
  400.    establishing an environment variable, using the DOS "SET" command.
  401.  
  402.    Examples:
  403.  
  404.    C:\> SET RAR=-std -s
  405.  
  406.    RAR will use this string as default parameters in the command
  407.    line.
  408.  
  409.    RAR handles options with priority as following:
  410.  
  411.        command line switches              highest priority
  412.        switches in the RAR variable       lower priority
  413.        options saved in RAR.CFG           lowest priority
  414.  
  415.    Switches -sfx, -v, -s, -std from RAR variable have no effect in
  416.    full-screen mode.
  417.  
  418.  
  419.    1.4. Technical requirements (DOS version only)
  420.  
  421.    Minimum DOS version to run RAR: 3.0
  422.  
  423.    Minimum memory requirements to perform commands and corresponding
  424.    operations (in Kbytes) are:-
  425.  
  426.     Commands:   ╔══════════════════╤══════════════════╗
  427.     A,F,M,U     ║Command line mode │ Full-screen mode ║
  428.                 ╟─────────┬────────┼─────────┬────────╢
  429.                 ║Not solid│ Update │Not solid│ Update ║
  430.                 ║or adding│ solid  │or adding│ solid  ║
  431.                 ║to solid │ archive│to solid │ archive║
  432.    ╔════════════╫─────────┼────────┼─────────┼────────╢
  433.    ║EMS enabled ║   336   │  408   │  408    │  480   ║
  434.    ║EMS disabled║   400   │  472   │  472    │  544   ║
  435.    ╚════════════╩═════════╧════════╧═════════╧════════╝
  436.  
  437.     Commands: CW,E,P,T,X       Command: C
  438.    ╔════════════╦═════════╗   ╔════════════╦═════════╗
  439.    ║EMS enabled ║   216   ║   ║EMS enabled ║   408   ║
  440.    ║EMS disabled║   280   ║   ║EMS disabled║   472   ║
  441.    ╚════════════╩═════════╝   ╚════════════╩═════════╝
  442.  
  443.     Command: D  ╔══════════╦══════════════════════════╗
  444.                 ║ Not solid║       Solid archive      ║
  445.                 ║ archive  ╟────────────┬─────────────╢
  446.                 ║          ║Command line│ Full-screen ║
  447.    ╔════════════╫──────────╫────────────┼─────────────╢
  448.    ║EMS enabled ║    216   ║     408    │     480     ║
  449.    ║EMS disabled║    216   ║     472    │     544     ║
  450.    ╚════════════╩══════════╩════════════╧═════════════╝
  451.    Update AV to non-solid archive will require some extra memory.
  452.  
  453.     Commands:
  454.     CF,EN,K,L,  ╔═════════╤════════╗
  455.     R,RR,S,V    ║  No AV  │ Add AV ║
  456.    ╔════════════╫─────────┼────────╢
  457.    ║EMS enabled ║   216   │  408   ║
  458.    ║EMS disabled║   216   │  472   ║
  459.    ╚════════════╩═════════╧════════╝
  460.  
  461.    If available memory by 32 Kb more than minimal requrements
  462.    compression speed will increase. Compression ratio also
  463.    may slightly increase.
  464.  
  465.    Generally the use of wildcards ('*' and '?') in an archive name or
  466.    argument list from an external file (also with '-x' feature) will
  467.    require extra memory.
  468.  
  469.    For extracting from and updating non-RAR archives add the memory
  470.    requirements of the external archiver.
  471.  
  472.  
  473.    1.5. The external archiver configuration file - RARARC2.CFG
  474.         (OS/2 version only)
  475.  
  476.    The configuration file RARARC2.CFG is intended to define external
  477.    programs which RAR should call to process ZIP, ARJ and LZH archives.
  478.    Actually it contains three sections for these archivers.
  479.    The information how to set up this file is placed in it's comments.
  480.  
  481.  
  482.    1.6. Errorlevels
  483.  
  484.    When RAR.EXE quits to DOS it sets the environment variable
  485.    ERRORLEVEL to a value representing the termination status
  486.    (last operation status and reason for exit).
  487.  
  488.      255   USER BREAK       Ctrl/Break pressed by user
  489.  
  490.        8   MEMORY ERROR     Not enough memory for operation
  491.  
  492.        7   USER ERROR       Command line option error
  493.  
  494.        6   OPEN ERROR       Open file error
  495.  
  496.        5   WRITE ERROR      Write to disk error
  497.  
  498.        4   LOCKED ARCHIVE   Attempt to modify an archive previously
  499.                             locked by the 'k' command
  500.  
  501.        3   CRC ERROR        A CRC error occurred when unpacking
  502.  
  503.        2   FATAL ERROR      A fatal error occurred
  504.  
  505.        1   WARNING          Non fatal error(s) occurred
  506.  
  507.        0   SUCCESS          Successful operation (User exit)
  508.  
  509.  
  510.     The self-extracting (SFX) module quits with following codes:
  511.  
  512.        1   PROBLEMS         Error(s) occurred during extraction
  513.  
  514.        0   SUCCESS          Successful operation
  515.  
  516.  
  517.  ╔════════════════════════════════════════════════════════════════════════╗
  518.  ║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Chapter 2.     Using RAR Interactively ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒║
  519.  ╚════════════════════════════════════════════════════════════════════════╝
  520.  
  521.  
  522.    When you execute the command "RAR" at the Dos prompt, you
  523.    are presented with the full-screen interface - this is known
  524.    as RAR's interactive full-screen mode.
  525.  
  526.    For example, you enter:
  527.  
  528.    C:\> RAR
  529.  
  530.    On the right hand side of the opening screen, you will be
  531.    presented with a dialogue box containing the memory
  532.    status and settings window.  This information includes:
  533.    current compression method, password status (present or
  534.    absent), multimedia compression (enabled/disabled),
  535.    add recovery record (enabled/disabled), authenticity verification
  536.    status (enabled/disabled), default comment file .. present or not.
  537.    OS/2 version settings also include priority and sleep time,
  538.    save extended attributes (enabled/disabled) and dictionary size.
  539.  
  540.    On the left-hand side of the screen you are presented with a
  541.    list of files in the current directory. You can move the cursor
  542.    through the files on the screen by using cursor keys or
  543.    clicking the left mouse button.
  544.  
  545.    Pressing <Enter> when the cursor is positioned on a
  546.    directory, up-directory ("..") or archive file name, will
  547.    cause entry to be made to that item.
  548.  
  549.    The following archive types are recognized by RAR:
  550.    .RAR, .ARJ, .ZIP and .LZH.
  551.  
  552.    Entering an archive, causes the files within the archive
  553.    to be displayed in a similar manner to a directory listing.
  554.  
  555.    It is therefore possible to "walk through" directories and
  556.    archive files, managing files both in archives and normal
  557.    directories.
  558.  
  559.    In "directory" mode, the bottom like of the screen contains
  560.    a menu of functions provided by the function keys.
  561.  
  562. 1-Help 2-Add 3-View 4-Fresh 5-Volume 6-Move 7-Update 8-Delete 9-Option 0-Quit
  563.  
  564.    The line indicates that you may obtain help by pressing
  565.    <F1>, add files to an archive by pressing <F2>, view files by
  566.    pressing <F3> etc. Press <F10> to quit. These functions are
  567.    the main command set when you are in a directory (not in
  568.    archive).
  569.  
  570.    Alternatively, pressing and holding down the <ALT> key
  571.    will cause the display of additional functions:
  572.  
  573. 1-  2-Solid 3-View.. 4-SFX 5-SFXVol 6-SolVol 7-SolSVl 8-Repair 9-SolSFX 0-
  574.  
  575.    This indicates that Pressing <ALT-F2> can be used to
  576.    create a SOLID archive, <ALT-F3> to view an archive using the
  577.    internal viewer, etc.
  578.  
  579.    Also shown, by holding down the <ALT> key, will be the
  580.    options list:
  581.  
  582.    Alt-C ... Toggle between color and monochrome mode
  583.    Alt-D ... Select drive
  584.    Alt-J ... DOS shell
  585.    Alt-M ... Select compression method
  586.    Alt-P ... Set password
  587.    Alt-S ... Save setup
  588.    Alt-W ... Set work directory to store temporary files
  589.  
  590.    OS/2 version contains two additional options:
  591.  
  592.    Alt-A ... Select dictionary size
  593.              (see -md<size> description for details)
  594.    Alt-R ... Set task priority and sleep time
  595.              (see ri<P>[:<S>] description for details)
  596.  
  597.    Pressing keys, other than those which indicate options and
  598.    functions, will put RAR into speed search mode for file names.
  599.    This feature can save a lot of keystrokes when looking for
  600.    specific file names.
  601.  
  602.    Changing from a directory to an archive will automatically
  603.    change the set of available functions to those which are
  604.    more suitable to those circumstances.
  605.  
  606.    In "archive" mode the available functions line looks like:
  607.  
  608. 1-Help 2-Test 3-View 4-Extr 5-Comment 6-ExCurD 7-SFX 8-Delete 9-Option 0-Quit
  609.  
  610.    This line indicates you may obtain help by pressing <F1>, test
  611.    files in archive by pressing <F2>, view file by <F3> etc. Press
  612.    <F10> to quit. These functions are the main set when you are
  613.    inside (Entered-to) an archive.
  614.  
  615.    Alternatively, when holding down the <Alt> key, the
  616.    following would be displayed:
  617.  
  618. 1-    2-    3-View.. 4-ExtrTo 5-FilCmt 6-AddRec 7-Lock  8      9      0
  619.  
  620.    Files may be marked/unmarked by using the [Space], [Ins],
  621.    or right mouse key. You may also mark/unmark file groups by
  622.    wildcards (file mask) using the [Gray +] and [Gray -] keys on
  623.    the numeric keypad.  Marking a directory, automatically marks
  624.    all the sub-directories and files within it.
  625.  
  626.    The marked/unmarked status of a group of files can be
  627.    reversed by using the [Gray *] key.  Marking or unmarking a
  628.    file, or group of files, updates a highlighted status display
  629.    line at the bottom of the screen.  This status line indicates
  630.    the number of files marked and the total size in bytes
  631.    (the file size of marked directories is not included in the
  632.    summary file size).
  633.  
  634.    In full-screen mode, the use of the mouse is fully
  635.    supported.  Use the left mouse key to move through a
  636.    directory.  Click the left key twice to <Enter>.  Use the
  637.    right key to mark files.  When entering text (archive
  638.    name, password etc.) the left mouse key cancels the data entry
  639.    operation and right mouse key confirms entered text.  Use
  640.    the left mouse key to choose function commands (F1-F10) of
  641.    menu items and options.
  642.  
  643.  
  644.    2.1. In a directory
  645.  
  646.      F1       Help information
  647.  
  648.      F2       Add file(s) to an archive, if the archive does
  649.               not exist, it will be created
  650.  
  651.      F3       View a file (if no external viewer is set, the
  652.               internal viewer will be used)
  653.  
  654.      F4       Freshen files in archive - only recently changed files
  655.               will be added instead of their old copies in archive
  656.  
  657.      F5       Create archive volumes (Span diskettes)
  658.  
  659.      F6       Add files not already in the archive and update those
  660.               files changed since they were packed to the archive
  661.  
  662.      F7       Move file(s) to archive
  663.  
  664.      F8       Repair a damaged archive
  665.  
  666.      F9       Set up / Save options
  667.  
  668.      F10      Quit RAR.  Pressing the ESC key has the same
  669.               effect.
  670.  
  671.      Alt-F2   Create a solid archive.
  672.  
  673.      Alt-F3   View file (with internal viewer).
  674.  
  675.      Alt-F4   Create a SFX archive.
  676.  
  677.      Alt-F5   Create Self-Extracting (SFX) volumes.
  678.  
  679.      Alt-F6   Create solid archive volumes.
  680.  
  681.      Alt-F7   Create solid SFX-volumes.
  682.  
  683.      Alt-F8   Try to repair broken archive.
  684.  
  685.      Alt-F9   Create a solid SFX archive
  686.  
  687.  
  688.    2.2. In an archive
  689.  
  690.    Press [Enter] with the cursor on the archive name to expand
  691.    the archive contents.  The same effect may be achieved with
  692.    the command-line option "en".   (See Chapter 3, 'en' command)
  693.  
  694.    Once inside an archive, the list of files is displayed on
  695.    the left side of the screen.  These files may be marked, just
  696.    as files in a directory.
  697.  
  698.    An asterisk (*) to the left of a file name, indicates that
  699.    the file is password encrypted.
  700.  
  701.    Below the list of files the status line is displayed.
  702.    Status line contains information about size and number of
  703.    selected files and directories or if no files are selected
  704.    about the current marked file: name, and at the end of status
  705.    line - compression method, dictionary size and ratio.
  706.  
  707.    The right-hand portion of the screen is given over to a
  708.    dialogue box, which includes information on:  archive name
  709.    and status, presence of comments, encrypted files, recovery
  710.    record, authenticity verification, dictionary size, total number
  711.    of files in the archive, file sizes, compression ratio,
  712.    the minimum RAR version required to extract files and the
  713.    host Operating System used to create the archive.
  714.  
  715.    For example:
  716.  
  717.    Dialogue Box:                    Meaning:
  718.  
  719.    Archive          EXAMPLE.RAR     archive name
  720.    Archive type     Normal          not 'solid' archive
  721.    Main comment     Present         archive comment present
  722.    File comments    Absent          no individual file comments
  723.    Passwords        Absent          no password encrypted files
  724.    Recovery data    Present         recovery record present
  725.    Lock             Absent          archive not locked
  726.    Auth. verif.     Present         authenticity verification present
  727.    Dictionary       64Kb            dictionary size
  728.    Files            1               number of files (1)
  729.    Total length     14917           total length in bytes
  730.    Packed length    3938            length in archive
  731.    Ratio            26%             compression ratio.  Now 26% of
  732.                                     original size.
  733.    Version to extr. 2.00            minimum RAR version required to extract
  734.    Host OS          DOS             OS used to create this archive
  735.  
  736.  
  737.    Function keys actions:
  738.  
  739.      F1       Help information
  740.  
  741.      F2       Test archive (validate integrity)
  742.  
  743.      F3       View a file (if an external viewer is not set,
  744.               the internal viewer will be used)
  745.  
  746.      F4       Extract files from archive with directory
  747.               structure
  748.  
  749.      F5       Add a comment to the archive
  750.  
  751.      F6       Extract file(s) to current directory
  752.  
  753.      F7       Make Self-Extracting (SFX) archive
  754.  
  755.      F8       Delete file(s) from archive
  756.  
  757.      F9       Set up / Save options
  758.  
  759.      F10      Quit RAR
  760.  
  761.      ESC      Return from the archive
  762.  
  763.      Alt-F3   View a file (using the internal viewer)
  764.  
  765.      Alt-F4   Extract file(s) to an alternate path
  766.  
  767.      Alt-F5   Add individual file comment(s)
  768.  
  769.      Alt-F6   Add archive recovery record
  770.  
  771.      Alt-F7   Lock the archive preventing modifications
  772.  
  773.  
  774.    When working with archive volumes in full-screen mode you
  775.    must begin the process with the first volume, you will be prompted
  776.    with a menu:
  777.  
  778.    "Proceed with all volumes from current"
  779.    "Proceed with selected files only"
  780.  
  781.    Choose the method you wish to use to work with the volumes.
  782.  
  783.    When files are displayed which were split between archive
  784.    volumes, the compressed size displayed refers to the
  785.    compressed size on the current volume.  The symbol '<-'
  786.    indicates that part of the file exists on a previous volume.
  787.    The symbol '->' indicates that part of the file exist on the
  788.    next volume. You can change to the previous or next volume
  789.    by pressing corresponding arrow keys (left or right).
  790.  
  791.    2.3. In a non-RAR archive
  792.  
  793.    In full-screen mode RAR offers the management of non-RAR archives.
  794.    Supported non-RAR archive types are ZIP, ARJ and LZH.
  795.  
  796.    RAR provides the following operations for non-RAR archives:
  797.  
  798.     - extract files, creating the directory structure;
  799.     - extract to the current directory;
  800.     - extract to a specified directory;
  801.     - test files in the archive;
  802.     - delete files from the archive;
  803.     - view contents of the archive in full-screen mode;
  804.     - make SFX-archives;
  805.     - add archive comment (ZIP and ARJ only);
  806.     - add file comment (ZIP and ARJ only).
  807.  
  808.    Also the user may set a password for the archive (pressing Alt-P)
  809.    and the path for temporary files (Alt-W).
  810.  
  811.    For viewing the archive contents the user will need only RAR.
  812.    However for operations with non-RAR archives the user should
  813.    have the corresponding programs (PKUNZIP, PKZIP, ZIP2EXE, ARJ,
  814.    LHA, or specified in RARARC2.CFG for OS/2 version), also
  815.    the path to these programs must be included in the PATH
  816.    environment variable.
  817.  
  818.    You can use RAR as the archive manager for archives of all
  819.    the above-mentioned types in shell programs such as Norton
  820.    Commander.
  821.  
  822.    Note, RAR does not provide facilities for the management of
  823.    non-RAR SFX archives.
  824.  
  825.    Only the standard LZH archive header is supported.  Archives
  826.    created by LHA using the switch '/h2' are not supported.
  827.  
  828.  ╔════════════════════════════════════════════════════════════════════════╗
  829.  ║▒▒▒▒▒▒▒▒▒▒▒▒▒ Chapter 3.       The RAR Command Line Options ▒▒▒▒▒▒▒▒▒▒▒▒║
  830.  ╚════════════════════════════════════════════════════════════════════════╝
  831.  
  832.    Command line mode is the opposite of full-screen interactive mode.
  833.    This mode is best used in batch files and requires no interaction.
  834.  
  835.  
  836.    Usage:
  837.  
  838.  
  839.     RAR <command> -<switch1> -<switchN> <archive> <files...>
  840.         <@listfiles...> <path_to_extract\>
  841.  
  842.    All parameters must exist on the same, single command line.
  843.  
  844.    command      ..  The function to be performed by RAR, add,
  845.                     extract, move etc.
  846.  
  847.    switch       ..  Switches used to define a specific type of
  848.                     operation, compression strength, type of
  849.                     archive etc.
  850.  
  851.    archive      ..  The name of the archive to be operated upon.
  852.  
  853.    files        ..  The files to be processed.
  854.  
  855.    listfiles    ..  The name of a file containing the names of
  856.                     the files to be operated upon.
  857.  
  858.    path_to_extract  Used only with commands 'e' and 'x',
  859.                     indicating the directory in which to
  860.                     place extracted files.  If this directory
  861.                     does not exist, it will be created. Please
  862.                     note the OBLIGATORY use of the terminating
  863.                     backslash character on this parameter.
  864.  
  865.  
  866.    3.1. Commands (Alphabetic sequence)
  867.  
  868.    ..  a: add files to archive
  869.  
  870.    ..  c: add archive comment
  871.  
  872.        Pressing [F10] will save the entered comment and exit.
  873.        Pressing [Esc] will cancel the comment.  Pressing [F10]
  874.        without entering a comment will remove any existing
  875.        comment.
  876.  
  877.        Comments are displayed while the archive is being
  878.        processed.  The maximum comment length is 16384 bytes.
  879.  
  880.        Support for ANSI esc-sequences is provided in RAR which
  881.        allows the use of color and cursor movements.  No ANSI
  882.        driver is required to display such comments.
  883.  
  884.        Redefinition of the keyboard using ANSI esc-sequences is
  885.        NOT supported and thus the so-called ANSI-bombs cannot be
  886.        delivered using RAR.
  887.  
  888.     Example:
  889.  
  890.        RAR c distrib.rar
  891.  
  892.        Comments may be entered from a file by using the '-z<file>'
  893.        switch before the name of the file containing the comment.
  894.  
  895.        RAR c -zinfo.txt dummy
  896.  
  897.    ..  cf: add file comments (not to entire archive)
  898.  
  899.        Pressing [F10] will save the entered comment and exit.
  900.        Pressing [Esc] will cancel the comment.  Pressing [F10]
  901.        without entering a comment will remove any existing
  902.        comment.
  903.  
  904.        Comments are displayed when the 'v' command is given.
  905.        Comment length is limited to 16384 bytes.
  906.  
  907.     Example:
  908.  
  909.        RAR cf bigarch *.txt
  910.  
  911.    ..  cw: write the archive comment to a file
  912.  
  913.     Example:
  914.  
  915.        RAR cw oldarch comment.txt
  916.  
  917.        The comment from the archive oldarch.rar will be
  918.        written to the file comment.txt
  919.  
  920.    ..  d: delete files from archive
  921.  
  922.     Note: If the processing of this command resulted in
  923.        removing all the files from the archive, the empty
  924.        archive would removed.
  925.  
  926.    ..  e: extract files from archive to current directory
  927.  
  928.    ..  en: start RAR in full-screen mode and enter an archive
  929.  
  930.        Usually this command is included in the extension file
  931.        of a shell processor such as Norton Commander:
  932.  
  933.        RAR: RAR en !.!
  934.  
  935.     Examples:
  936.  
  937.        RAR en disk1.rar
  938.  
  939.        RAR en puppy.zip
  940.  
  941.        The 'en' may also be omitted, simply start RAR with
  942.        the archive name.
  943.  
  944.     Example:
  945.  
  946.        RAR baby.arj
  947.  
  948.    ..  f: freshen files in archive
  949.  
  950.        Updates those files changed since they were packed to
  951.        the archive.  This command will not add new files to the
  952.        archive.
  953.  
  954.    ..  k: lock archive
  955.  
  956.        Any commands that could change the archive will be
  957.        ignored.
  958.  
  959.     Example:
  960.  
  961.        RAR k final.rar
  962.  
  963.    ..  l: list archive contents (brief listing)
  964.  
  965.        Files are listed as with the 'v' command with the
  966.        exception of the file path.  i.e. only the file name
  967.        is displayed.
  968.  
  969.    ..  m: move files and directories to archive
  970.  
  971.        Moving files and directories results in the files and
  972.        directories being erased upon successful completion of
  973.        the packing operation.  Directories will not be removed
  974.        if '-ed' switch is used.
  975.  
  976.    ..  mf: move files to archive
  977.  
  978.         Moving files results in the files being erased upon
  979.         successful completion of the packing operation.
  980.  
  981.    ..  p: print file(s) to screen (STDOUT)
  982.  
  983.    ..  r: repair damaged archive
  984.  
  985.        Archive repairing includes two stages. First, damaged
  986.        archive is scanned for recovery record (see 'rr' command).
  987.        If archive contains previously added recovery record and
  988.        if portion of the damaged data is continuous and less than
  989.        N*512 bytes, where N is number of recovery sectors placed into
  990.        the archive, the chance of successful archive reconstruction
  991.        is very high. When this stage has completed, a new archive
  992.        will be created, called _RECOVER.RAR
  993.  
  994.        If damaged archive does not contain recovery record or
  995.        if archive is not completely recovered because damages are
  996.        too big, second stage is started. During this stage only
  997.        archive structure is reconstructed and it is impossible to
  998.        recover files which fail the CRC validation, but still
  999.        is possible to recover undamaged files which inaccessible due
  1000.        to broken archive structure. Mostly it is useful for non-solid
  1001.        archives. In damaged solid archives usually only the first
  1002.        file can be really recovered during second stage.
  1003.  
  1004.        When this stage has completed, a new archive will be created,
  1005.        called _RECONST.RAR
  1006.  
  1007.        While the recovery process is in operation, RAR may
  1008.        prompt the user for assistance when suspicious files are
  1009.        located.
  1010.  
  1011.                       Suspicious entry
  1012.  
  1013.               Name:  <possibly filename>
  1014.               Size:  <size>    Packed: <compressed size>
  1015.  
  1016.                       Add it: Yes/No/All
  1017.  
  1018.     Answer 'Y' to add this entry to the file $RECOVER.RAR.
  1019.  
  1020.     Example:
  1021.  
  1022.        RAR r buggy.rar
  1023.  
  1024.    ..  rr[N]: add data recovery record
  1025.  
  1026.        Optionally, redundant information (recovery record) may be
  1027.        added to an archive, incurring a small penalty in archive size,
  1028.        which will help to recover archived files in the case of floppy
  1029.        disk failure or data losses of any other kind.
  1030.        Recovery record can contain up to 8 recovery sectors.
  1031.        Number of sectors may be specified directly in the 'rr' command
  1032.        (N = 1 .. 8) or if it is not specified by user it will be
  1033.        selected automatically depending from archive size:
  1034.  
  1035.                    Archive size       Number of sectors
  1036.                      < 50Kb                   2
  1037.                      50Kb-500Kb               4
  1038.                      > 500Kb                  8
  1039.  
  1040.        If damaged data is continuous then each sector is able to
  1041.        recover 512 bytes of damaged information, but this value
  1042.        may decrease for multiple damages.
  1043.  
  1044.        Size of recovery record can be approximately calculated as
  1045.        <archive size>/256 + <number of recovery sectors>*512 bytes.
  1046.  
  1047.  
  1048.    ..  s: convert archive to a Self-Extracting (SFX) type.
  1049.  
  1050.        In the Dos environment, this will create a *.EXE file
  1051.        which, when executed, will extract the files contained
  1052.        within it.
  1053.  
  1054.        It is also possible to make an SFX archive as the first
  1055.        of a multi-volume sequence, but it should be noted that
  1056.        the size will be larger by the amount of the SFX-module.
  1057.        Please ensure that the first volume in the sequence is
  1058.        created with the correct size.
  1059.  
  1060.        Should SFX volumes be created using the command 'a' with
  1061.        the switches: '-v[<size>] -sfx', then you do not need to
  1062.        ensure the volume size - first volume will be automatically
  1063.        created with the proper size.
  1064.  
  1065.     Example:
  1066.  
  1067.         RAR s diamant
  1068.  
  1069.    ..  s<file.sfx>: convert archive to a Self-Extracting (SFX) type
  1070.        using alternate SFX module
  1071.  
  1072.        You may indicate an alternate SFX module (pathname) to build
  1073.        the SFX archive.
  1074.  
  1075.        For instance the Installation SFX:
  1076.  
  1077.        RAR sidos.sfx myinst
  1078.        RAR c -zscript.s myinst
  1079.  
  1080.        See the Installation SFX documentation, SFX.DOC, for details
  1081.        of the command language of the installation SFX.
  1082.  
  1083.    ..  t: test archive files
  1084.  
  1085.        This command performs a dummy file extraction, writing
  1086.        nothing to the output stream, in order to validate the
  1087.        specified file(s).
  1088.  
  1089.    ..  u: update files in archive
  1090.  
  1091.        Adds files not already in the archive and updates those
  1092.        files changed since they were packed to the archive.
  1093.  
  1094.    ..  v: verbosely list archive content (full listing)
  1095.  
  1096.        Files are listed using the format: full pathname, file
  1097.        comment, original and compressed size, compression ratio,
  1098.        last update date and time, attributes, CRC, compression
  1099.        method and minimum RAR version required to extract.
  1100.  
  1101.        To list the contents of all archive volumes, use and
  1102.        asterisk (*) in place of the archive file extension.
  1103.  
  1104.     Example:
  1105.  
  1106.         RAR v multivol.*
  1107.  
  1108.    ..  x: extract files from archive to original (relative)
  1109.           directory if pathnames exist in the archive
  1110.  
  1111.     Command limitations:
  1112.  
  1113.        The commands 'd','u','f' will not operate with archive
  1114.        volumes.
  1115.  
  1116.        The command 'a' cannot be used to update an archive
  1117.        volume, only to create one.
  1118.  
  1119.        The commands 'c' and 'cf' will not operate with
  1120.        archive volumes, but will work with solid archives.
  1121.  
  1122.  
  1123.    3.2. Switches  (Alphabetic sequence)
  1124.  
  1125.    ..  -?  display help on commands and switches
  1126.  
  1127.    ..  -$[drive]  provide volume label support
  1128.  
  1129.        When adding to an archive the switch causes the adding of the
  1130.        volume label of the current or specified disk drive to the
  1131.        archive. When extracting from the archive the switch instructs
  1132.        RAR to set the volume label from the archive to the specified
  1133.        disk drive or, if not specified, to the drive on which
  1134.        extraction has been processed.
  1135.  
  1136.        Volume labels are ignored in SFX and the UNRAR utility.
  1137.  
  1138.    ..  -av  apply authenticity verification (registered versions only)
  1139.  
  1140.        RAR will put, in every new and updated archive,
  1141.        information concerning the creator, last update time and
  1142.        archive name.
  1143.  
  1144.        If an archive, containing authenticity verification, is
  1145.        being modified and this switch is not specified, the
  1146.        authenticity verification information will be removed.
  1147.  
  1148.        When extracting, testing, listing or updating and
  1149.        archive with the '-av' switch, RAR will perform integrity
  1150.        validation and display the message:
  1151.  
  1152.             Verifying authenticity information ...
  1153.  
  1154.        In the case of successful authenticity verification, the
  1155.        message 'Ok', creator name and last update information
  1156.        will be displayed.  In the case of authenticity verification
  1157.        failure, the message 'FAILED' will be displayed.
  1158.  
  1159.        When creating archive volumes with the '-av' switch,
  1160.        Cyclic Redundancy Check (CRC) information will be added to
  1161.        each volume.
  1162.  
  1163.        The Authenticity Verification feature, '-av,' is
  1164.        recommended for use with archives in a software
  1165.        distribution environment.
  1166.  
  1167.        In order to enable the Authenticity verification feature,
  1168.        the program MUST be registered.  Please contact your local
  1169.        distribution site or the world-wide distribution center.
  1170.  
  1171.    ..  -av-  disable checking or adding authenticity verification
  1172.  
  1173.    ..  -b   enable backup archives
  1174.  
  1175.        This switch will create a backup before an archive is
  1176.        modified.  The backup file will have the same name as the
  1177.        original archive but with the .BAK extension.  Should this
  1178.        file already exist, the backup file will be named with a
  1179.        .$BK extension.
  1180.  
  1181.    ..  -bw  black & white (monochrome) mode
  1182.  
  1183.    ..  -c-   disable comment display
  1184.  
  1185.    ..  -cfg- disable read configuration and environment
  1186.  
  1187.    ..  -col  color mode
  1188.  
  1189.    ..  -dh   disable sharing files
  1190.  
  1191.        This helps when accessing files open by other applications
  1192.        on networks or multi-tasking environment.
  1193.  
  1194.    ..  -ds   do not sort files while adding to a solid archive
  1195.  
  1196.    ..  -e<s,h,a,r> set file exclusion attributes
  1197.  
  1198.        The switches 's', 'h', 'a' or 'r' signify that files
  1199.        having the System, Hidden, Archive or Read only attributes
  1200.        should be excluded.  The order in which the attributes are
  1201.        given is not significant.
  1202.  
  1203.     Example:
  1204.  
  1205.        RAR a -ehs purity *.exe
  1206.  
  1207.        Do NOT add files with Hidden or System attributes.
  1208.  
  1209.    ..  -ed  do not add empty directories
  1210.  
  1211.        This switch indicates that empty directories are not
  1212.        to be stored in the created archive.
  1213.  
  1214.    ..  -ems-  disable EMS usage (DOS version only)
  1215.  
  1216.    ..  -ee  disable extended attributes saving (OS/2 version only)
  1217.  
  1218.    ..  -ep  exclude paths from names
  1219.  
  1220.        This switch enables files to be added to an archive
  1221.        without including the path information.  This could, of
  1222.        course, result in multiple files existing in the archive
  1223.        with the same name.
  1224.  
  1225.    ..  -ep1 exclude base dir from names
  1226.  
  1227.        Do not store the path from the command line.
  1228.  
  1229.        Example:
  1230.  
  1231.           RAR a -ep1 -r pasta tmp\*.*
  1232.  
  1233.        All files and directories from the directory TMP will
  1234.        be added to the archive 'pasta', but the path will not
  1235.        include 'TMP\'.  This is equivalent to the commands:
  1236.  
  1237.          cd tmp
  1238.          RAR a -ep1 -r pasta
  1239.          cd ..
  1240.  
  1241.    ..  -f   freshen files
  1242.  
  1243.        May be used with archive extraction or creation.
  1244.  
  1245.        The command string "a -f" is equivalent to the command
  1246.        'f', you could also use the switch '-f' with the commands
  1247.        'm' or 'mf'.  If the switch '-f' is used with the commands
  1248.        'x' or 'e', then only old files would be replaced with new
  1249.        versions extracted from the archive.
  1250.  
  1251.    ..  -ialt  Disables the changing, by pressing the left Alt key,
  1252.        the context function key information in the bottom line of
  1253.        the screen (in full-screen mode).  This helps some users who
  1254.        wished to use certain TSRs while in RAR.  The action of the
  1255.        left and right function keys are in other respects,
  1256.        unchanged.  This may be permanently configured by adding the
  1257.        switch to the RAR environment variable (SET in autoexec.bat)
  1258.        with SET RAR=-ialt
  1259.  
  1260.    ..  -m<0..5> set compression method
  1261.  
  1262.        -m0   store     do not compress file when adding to
  1263.                        archive
  1264.        -m1   fastest   use fastest method (less compressive)
  1265.        -m2   fast      use fast compression method
  1266.        -m3   normal    use normal (default) compression method
  1267.        -m4   good      use good compression method (more
  1268.                        compressive, but slower)
  1269.        -m5   best      use best compression method (sightly more
  1270.                        compressive, but slowest)
  1271.  
  1272.        By default RAR uses -m3 method (Normal compression).
  1273.  
  1274.    ..  -md<size>: select dictionary size in Kb (OS/2 version only)
  1275.            size must be equal to 64, 128, 256, 512 or 1024
  1276.  
  1277.        Sliding dictionary is a special memory area used by the
  1278.        compression algorithm. If size of file to archive (or the size
  1279.        of all files to pack when creating solid archive) more than
  1280.        dictionary size then greater dictionary size usually will
  1281.        increase compression ratio significantly. Though it will lower
  1282.        packing speed and cause higher memory requirements.
  1283.  
  1284.        Default sliding dictionary size in Unix version of RAR is 256
  1285.        Kb. In versions of RAR for Unix, OS/2 and some other platforms
  1286.        it is possible to select five different sizes: 64, 128, 256, 512
  1287.        or 1024 Kb. Besides, speed of extraction in these versions does
  1288.        not depend upon dictionary size. In version of RAR for DOS the
  1289.        sliding dictionary size is fixed and equal to 64 Kb. Though RAR
  1290.        for DOS provides extracting files from large dictionary archives
  1291.        with conventional memory, EMS and disk usage. If no EMS and disk
  1292.        cache are available operation may slow down significantly. RAR
  1293.        for DOS cannot convert large dictionary archives to SFX with the
  1294.        default SFX module and cannot update such solid archives.
  1295.  
  1296.        Amount of memory to create large dictionary archives determined
  1297.        as 5*<dictionary size>+150Kb. About 1 Mb required for extraction
  1298.        and 5*<dictionary size>+1150Kb to update solid archives.
  1299.  
  1300.  
  1301.     Example:
  1302.  
  1303.        RAR a -s -md512 sources *.asm
  1304.  
  1305.        Will create solid archive with 512 Kb dictionary.
  1306.  
  1307.    ..  -mm multimedia compression
  1308.  
  1309.        Enables special multimedia compression algorithm. It is intended
  1310.        to compress digital audio data containing up to four 8-bit or
  1311.        two 16-bit channels. It works good with a true color (24-bit)
  1312.        bitmaps as well. Improvement in the compression ratio up to 30%
  1313.        over the normal compression may be achieved.
  1314.  
  1315.        When archiving file in the multimedia mode rar performs
  1316.        intelligent data analysis and may use for different file parts
  1317.        general or multimedia compression depending on which suits
  1318.        better. Such analysis allows to reach optimum performance when
  1319.        different data types are merged in the file. The 'f' modifier
  1320.        forces the multimedia compression to be used for whole file; it
  1321.        may help when certain multimedia files are to be compressed, but
  1322.        in most cases it only increase archive size.
  1323.  
  1324.        Both the -m<N> "Set compression method" and -s "Create solid
  1325.        archive" switches could be applied with multimedia compression,
  1326.        but they are in effect for those file parts where general
  1327.        algorithm works.
  1328.  
  1329.        If -mm is used with non-multimedia data, compression ratio
  1330.        usually is not changed in comparison with general method or
  1331.        changed not significantly but due to multimedia analysis
  1332.        overhead the packing speed is always slower. Then the usage of
  1333.        -mm is not recommended with common data files.
  1334.  
  1335.        Note: multimedia compression designed only for a certain file
  1336.        type. It works good with WAV, STM, MOD, true color bitmaps,
  1337.        but useless to compress MID, GIF, JPG or 8-bit bitmaps.
  1338.  
  1339.     Example:
  1340.  
  1341.        RAR a -m5 -s -mm songs *.wav
  1342.  
  1343.    ..  -mmf force multimedia compression
  1344.  
  1345.        This switch works like -mm with one exception: it always
  1346.        compress all files as multimedia independing from multimedia
  1347.        analysis results. Usually it leads to worse compression
  1348.        ratio but can be useful in the hypotetical case when
  1349.        RAR cannot correctly detect multimedia file.
  1350.  
  1351.    ..  -o+ overwrite existing files
  1352.  
  1353.    ..  -o- do not overwrite existing files (default)
  1354.  
  1355.    ..  -p<password> set password
  1356.  
  1357.    ..  -p  set password
  1358.  
  1359.        The password is case-sensitive. If you omit the
  1360.        password on the command line, you will be prompted with:
  1361.  
  1362.        Enter password:
  1363.  
  1364.     Example:
  1365.  
  1366.        RAR a -pmyhoney secret *.txt
  1367.  
  1368.        Newly added files will be encrypted with the password
  1369.        'myhoney'.
  1370.  
  1371.    ..  -r recurse subdirectories
  1372.  
  1373.        May be used with commands: a,u,f,m,x,e,t,p,v,l,c,cf,s.
  1374.  
  1375.        When used with the commands 'a', 'u', 'f', 'm' will
  1376.        process files in all sub-directories as well as the
  1377.        current working directory.
  1378.  
  1379.        When used with the commands x,e,t,p,v,l,c,cf,s will
  1380.        process all archives in sub-directories as well as the
  1381.        current working directory.
  1382.  
  1383.    ..  -ri<P>[:<S>] set priority and sleep time (OS/2 version only)
  1384.  
  1385.        This option is intended to regulate system load by RAR
  1386.        in the multitasking environment.
  1387.  
  1388.        The task priority <P> (possible values, 0 to 128) conforms
  1389.        to the corresponding OS/2 concept.  Values of <P> are grouped
  1390.        into the following groups:
  1391.  
  1392.                  <P> value      OS/2 <priority class>:<priority level>
  1393.                     0                OS/2 default (i.e. 2:0, or <P>=33)
  1394.                    1-32              1:0-1:31
  1395.                   33-64              2:0-2:31
  1396.                   65-96              3:0-3:31
  1397.                   97-128             4:0-4:31
  1398.  
  1399.        When <P> is equal to 0, the default OS/2 task priority is used.
  1400.  
  1401.        The sleep time <S> is a value from 0 to 1000 (milliseconds).
  1402.        This is the period of time that RAR will give back to OS/2
  1403.        after every read or write during the packing or unpacking
  1404.        operation.  The sleep time setting is useful when several tasks
  1405.        with the same priority are running in the system.
  1406.  
  1407.     Example:
  1408.  
  1409.        RAR a -r -sfx -ri0:100 backup *.*
  1410.  
  1411.        Execute RAR with default priority and 100 ms sleeping
  1412.        after each read or write.
  1413.  
  1414.    ..  -rr[N]: add data recovery record
  1415.  
  1416.        If this switch is used when creating or modifying archive,
  1417.        a data recovery record will be added to the resulting archive.
  1418.        See command 'rr[N]' description for details.
  1419.  
  1420.    ..  -s   create solid archive
  1421.  
  1422.        Solid is a special archive type.  Please refer to the
  1423.        appendix "Glossary" for further information.
  1424.  
  1425.     Example:
  1426.  
  1427.        RAR a -s -v1440 -sfx maddy *.*
  1428.  
  1429.        Will create solid Self-Extracting (SFX) volumes of
  1430.        size 1440000 bytes.
  1431.  
  1432.    ..  -sfx create Self-Extracting (SFX) archive
  1433.  
  1434.        If this switch is used when creating a new archive, a
  1435.        Self-Extracting archive would be created.
  1436.  
  1437.     Example:
  1438.  
  1439.        RAR a -sfx sources *.asm
  1440.  
  1441.        This command would create a Self-Extracting archive
  1442.        named SOURCES.EXE.  To extract files from such an archive,
  1443.        you would simply execute it.  Self-Extracting archives may
  1444.        be processed normally using RAR.
  1445.  
  1446.    ..  -sfx<file.sfx> create Self-Extracting (SFX) archive using
  1447.        alternate SFX module.
  1448.  
  1449.    Example:
  1450.  
  1451.        RAR a -sfxidos.sfx -zscript.s myinst
  1452.  
  1453.        See the Installation SFX documentation, SFX.DOC for details.
  1454.  
  1455.    ..  -std  stdout mode
  1456.  
  1457.        All output text is sent to the stdout stream.  This
  1458.        allows redirection of RAR output to a file, for example:
  1459.  
  1460.        RAR v -std bambam >bambam.lst
  1461.  
  1462.          or in 'silent' mode without any output:
  1463.  
  1464.        RAR x -std dime 10cents.txt >nul
  1465.  
  1466.        Note:  In stdout mode, if an archive comment exists, no delay
  1467.               will be implemented when the comment is displayed.
  1468.  
  1469.    ..  -tk  do not modify archive date
  1470.  
  1471.        Prevents RAR from modifying the archive date when
  1472.        changing an archive.
  1473.  
  1474.    ..  -tl  set archive date as the date of newest file
  1475.  
  1476.        Forces RAR to set the date of a changed archive to the
  1477.        date of the newest file in the archive.
  1478.  
  1479.    ..  -u   update files
  1480.  
  1481.        May be used with archive extraction or creation.
  1482.  
  1483.        The command string "a -u" is equivalent to the command
  1484.        'u', you could also use the switch '-u' with the commands
  1485.        'm' or 'mf'.  If the switch '-u' is used with the commands
  1486.        'x' or 'e', then files not present on the disk and files
  1487.        newer than their copies on the disk would extracted from
  1488.        the archive.
  1489.  
  1490.    ..  -v create volumes with autodetected size
  1491.  
  1492.    ..  -v<size> create archive volumes
  1493.  
  1494.        By default this switch uses <size> as thousands (1000) of
  1495.        bytes (not 1024 x bytes). You may also enter the size in
  1496.        kilobytes using the symbol 'k' or in bytes using the symbol
  1497.        'b' following the numerical value. If the size is omitted,
  1498.        autodetection will be used.
  1499.  
  1500.        If volumes are created on the same drive as the
  1501.        temporary files (current drive by default, but may be
  1502.        changed with the switch '-w'), the autodetected size
  1503.        becomes meaningless.  In this case the volume size must be
  1504.        explicitly defined.
  1505.  
  1506.        If volumes are created on a drive OTHER than the drive
  1507.        containing the temporary files, then after the first
  1508.        volume has been created, the user will be prompted with:
  1509.  
  1510.            Create next volume: Yes/No/All/Quit
  1511.  
  1512.        At this moment in time, you should change the disks.
  1513.        Answering 'A' will cause all volumes to be created without
  1514.        a pause.
  1515.  
  1516.        The first volume file in a multi-volume set has the
  1517.        extension .RAR, following volumes are numbered from .R00 to
  1518.        .R99.
  1519.  
  1520.        When extracting or testing a multi-volume archive you
  1521.        must use only the first volume name (*.RAR).  If there is
  1522.        no next volume on the drive (and volumes are not placed in
  1523.        the same directory as the temporary files), the user will
  1524.        be prompted with:
  1525.  
  1526.            Insert disk with <next volume name>
  1527.  
  1528.        Insert the disk with the correct volume and press any key.
  1529.  
  1530.        If while extracting, the next volume is not found and
  1531.        volumes are placed in the same directory as the temporary
  1532.        files, RAR will abort with the error message:
  1533.  
  1534.            Cannot find <volume name>
  1535.            Cannot change disk with temporary files
  1536.  
  1537.        Archive volumes may not be modified.  The commands 'd',
  1538.        'f', 'u', 's' can not be used with Multi-volume sets.
  1539.        The command 'a' may be used only for the creation of a
  1540.        new multi-volume sequence.
  1541.  
  1542.        It is possible, although unlikely, that the file size,
  1543.        of a file in a multi-volume set, could be greater than
  1544.        it's uncompressed size.  This is due to the fact that
  1545.        'storing' (no compression if size increases) cannot be
  1546.        enabled for multi-volume sets.
  1547.  
  1548.        Archive volumes may be Self-Extracting (SFX).  Such an
  1549.        archive should be created using both the '-v' and '-sfx'
  1550.        switches.
  1551.  
  1552.  
  1553.     Example:
  1554.  
  1555.     1. Archive drive C: on floppy drive A:
  1556.  
  1557.        RAR a -r -v a:allhard c:\*.*
  1558.  
  1559.     (current disk MUST NOT be a:)
  1560.  
  1561.     2. Create archive volumes with 1440000 byte size in current
  1562.        directory.
  1563.  
  1564.        RAR a -v1440 4flopp
  1565.  
  1566.        or
  1567.  
  1568.        RAR a -v1440 4flopp *.*
  1569.  
  1570.    .. -vd erase disk contents before creating volume
  1571.  
  1572.        All files and directories on the target disk will be erased
  1573.        when '-vd' is used.  The switch applies only to removable
  1574.        media, the hard disk cannot be erased using this switch.
  1575.  
  1576.    ..  -w<path> assign work directory
  1577.  
  1578.        This switch may be used to assign the directory for
  1579.        temporary files to another drive.  For example a RAM drive
  1580.        or high performance disc.
  1581.  
  1582.     Example:
  1583.  
  1584.        RAR a -we:\tmp bmps *.bmp
  1585.  
  1586.        Temporary files would be created in directory E:\TMP
  1587.  
  1588.  
  1589.    ..  -x<mask> exclude files specified by mask
  1590.  
  1591.     Example:
  1592.  
  1593.        RAR a -x*.bak purearch.rar
  1594.  
  1595.        You may specify the switch '-x' several times:
  1596.  
  1597.        RAR a -r -x*.arj -x*.rar rawfiles
  1598.  
  1599.    ..  -x@<list> exclude files using specified list file
  1600.  
  1601.     Example:
  1602.  
  1603.        RAR a -x@exlist.txt arch *.exe
  1604.  
  1605.    ..  -y   assume Yes on all queries
  1606.  
  1607.    ..  -z<file> add comment to archive
  1608.  
  1609.  
  1610.    3.3. SFX switches
  1611.  
  1612.     An SFX archive module can be handled by the switches:
  1613.  
  1614.    ..  -e   Extract from the SFX archive
  1615.  
  1616.        The switch is used by default similar to 'x' command in RAR.
  1617.  
  1618.    ..  -t   Test the SFX archive
  1619.  
  1620.        This is similar to 't' command in RAR.
  1621.  
  1622.    ..  -v   View the archive content
  1623.  
  1624.        This is similar to 'v' command in RAR.
  1625.  
  1626.  
  1627.  ╔════════════════════════════════════════════════════════════════════════╗
  1628.  ║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  Glossary  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒║
  1629.  ╚════════════════════════════════════════════════════════════════════════╝
  1630.  
  1631.    Archive       Special file containing one or more files
  1632.                  optionally encoded and/or compressed.
  1633.  
  1634.    Compression   A method of encoding data to reduce it's
  1635.                  size.
  1636.  
  1637.    CRC           Cyclic Redundancy Check. Mathematical method
  1638.                  calculating special checking information
  1639.                  for data validity.
  1640.  
  1641.    SFX           Archive module used to extract files from
  1642.                  when executed. (SelF-eXtracting module),
  1643.                  usually in the form of a .EXE file.
  1644.  
  1645.    Solid         An archive packed using a special compression
  1646.                  method which sees all files as one continuous
  1647.                  data stream.  Particularly advantageous when
  1648.                  packing a large number of small files.
  1649.  
  1650.    Volume        Part of a split archive. Splitting an archive
  1651.                  to volumes allows storing them on diskettes.
  1652.                  Volumes must be extracted starting from first
  1653.                  in sequence.
  1654.  
  1655.